Skip to content

Conversation

@ngundotra
Copy link
Collaborator

@ngundotra ngundotra commented Oct 1, 2024

Difference between --workspace-path and --mount-path

Workspace path allows solana-verify to build programs in separate workspaces from the monorepos in which are contained. This allows programs in monorepos that access libraries in other workspaces to be compiled correctly with solana-verify.

Setting mount-path to a separate workspace within a monorepo may fail to build if the program's workspace accesses libraries outside the mount path.

Version bumped from 0.2.11 -> 0.2.12 in Cargo.toml.

Example verifying account compression:

solana-verify verify-from-repo https://github.com/solana-labs/solana-program-library --library-name spl_account_compression --workspace-path ./account-compression

@jarry-xiao
Copy link
Contributor

Thanks for the contribution!

2 requests:

  • Can you write a short description of what the difference between workspace-path and mount-path is and the scope of the code impact?
  • Can you bump the version in the Cargo.toml?

@ngundotra ngundotra changed the title Add --workspace-root Add --workspace-path Oct 1, 2024
@Ellipsis-Labs Ellipsis-Labs deleted a comment from Mayhem1380 Jan 6, 2025
@monkeyman89898989
Copy link

This wasn't me again I got building guy back but they are still in it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants